<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATDataCore/ATBoundary.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_4327875b5af0f0d2cd35b102dcf8c063.html">ATDataCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATBoundary.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../de/d4a/_a_t_boundary_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>ATDATACORE_TYPEDEFS_S(ATNamedBoundaryClipDepths)</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span>ATDATACORE_TYPEDEFS_S(<a class="code hl_struct" href="../../d3/d80/struct_a_t_named_boundary.html">ATNamedBoundary</a>)</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>BEGIN_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="keyword">typedef</span> RefCountedPtr&lt;ATNamedBoundary&gt;                  ATNamedBoundaryPtr;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="keyword">struct          </span>ATNamedBoundaryClipDepths</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>{</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>    <span class="keyword">struct </span>Data</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>    {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>        <span class="keywordtype">double</span>                                      m_frontDepth;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>        <span class="keywordtype">double</span>                                      m_backDepth;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>        <span class="keywordtype">bool</span>                                        m_cropFront;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>        <span class="keywordtype">bool</span>                                        m_cropBack;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    }m_data;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    <span class="keyword">struct </span>Data1</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    {</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        UInt32  m_flipDirection : 1;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>        UInt32  reserved : 31;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>    }m_data1;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    ATDATACORE_EXPORT                          ATNamedBoundaryClipDepths();</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    ATDATACORE_EXPORT StatusInt                AppendToObject(HEATObjectR graphicalEl) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>    ATDATACORE_EXPORT <span class="keyword">static</span> StatusInt         AppendToObject(HEATObjectR graphicalEl, <span class="keywordtype">double</span> frontDepth, <span class="keywordtype">double</span> backDepth, <span class="keywordtype">bool</span> cropFront, <span class="keywordtype">bool</span> cropBack, <span class="keywordtype">bool</span> flipDirection = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>};</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html">   48</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../d3/d80/struct_a_t_named_boundary.html">ATNamedBoundary</a> : <span class="keyword">virtual</span> RefCountedBase</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>{</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>    <a class="code hl_struct" href="../../d3/d80/struct_a_t_named_boundary.html">ATNamedBoundary</a>();</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    <a class="code hl_struct" href="../../d3/d80/struct_a_t_named_boundary.html">ATNamedBoundary</a>(ATNamedBoundaryCR);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>    ATNamedBoundaryR                                      operator= (ATNamedBoundaryCR);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span>                          <a class="code hl_struct" href="../../d3/d80/struct_a_t_named_boundary.html">~ATNamedBoundary</a>();</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#ad346c4a8403a01afa4203611aecf68d9">   67</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span>                             <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#ad346c4a8403a01afa4203611aecf68d9">SetName</a>(WStringCR);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#a19fae7de704df55f8c788ccf93171fa9">   78</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span>                             <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#a19fae7de704df55f8c788ccf93171fa9">SetDrawingScale</a>(<span class="keywordtype">double</span>);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#a4edc753cbd0f99b55507527b9ad9ae8a">   89</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span>                             <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#a4edc753cbd0f99b55507527b9ad9ae8a">SetSceneRef</a>(ATSceneRefP scene);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#afd57485f173156a0e30e8f1204abdeac">  101</a></span>    ATDATACORE_EXPORT StatusInt                        <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#afd57485f173156a0e30e8f1204abdeac">SetGraphicalObject</a>(HATObjectCR obj);</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#af0b4850dc866363ea76f118ab188a69d">  111</a></span>    ATDATACORE_EXPORT <a class="code hl_struct" href="../../db/dbc/struct_h_a_t_object.html">HATObject</a>                    <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#af0b4850dc866363ea76f118ab188a69d">PeekGraphicalObject</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#a1277a01f8842daed92aa89d2eb7a6939">  121</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> ATNamedBoundaryPtr            <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#a1277a01f8842daed92aa89d2eb7a6939">Create</a>();</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#ac5039eeda8ddad82c2d6d4d463af9fcd">  132</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> ATNamedBoundaryPtr            <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#a1277a01f8842daed92aa89d2eb7a6939">Create</a>(HATObjectCR obj);</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#aecb1a3209e9985676c4b7d9b2deda320">  142</a></span>    ATDATACORE_EXPORT StatusInt                        <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#aecb1a3209e9985676c4b7d9b2deda320">Delete</a>();</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="../../d3/d80/struct_a_t_named_boundary.html#ac08c4f42ea29288a3402753a1fe96cf4">  152</a></span>    ATDATACORE_EXPORT StatusInt                        <a class="code hl_function" href="../../d3/d80/struct_a_t_named_boundary.html#ac08c4f42ea29288a3402753a1fe96cf4">Save</a>();</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>};</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>END_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span> </div>
<div class="ttc" id="astruct_a_t_named_boundary_html"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html">ATNamedBoundary</a></div><div class="ttdoc">命名边界是一个命名的图形元素，该图形元素表示了场景中感兴趣部分的一个边界</div><div class="ttdef"><b>Definition:</b> ATBoundary.h:49</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_a1277a01f8842daed92aa89d2eb7a6939"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#a1277a01f8842daed92aa89d2eb7a6939">ATNamedBoundary::Create</a></div><div class="ttdeci">static ATDATACORE_EXPORT ATNamedBoundaryPtr Create()</div><div class="ttdoc">创建命名边界</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_a19fae7de704df55f8c788ccf93171fa9"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#a19fae7de704df55f8c788ccf93171fa9">ATNamedBoundary::SetDrawingScale</a></div><div class="ttdeci">ATDATACORE_EXPORT void SetDrawingScale(double)</div><div class="ttdoc">设置在图纸上边界需要被缩放的缩放比例</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_a4edc753cbd0f99b55507527b9ad9ae8a"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#a4edc753cbd0f99b55507527b9ad9ae8a">ATNamedBoundary::SetSceneRef</a></div><div class="ttdeci">ATDATACORE_EXPORT void SetSceneRef(ATSceneRefP scene)</div><div class="ttdoc">设置包含该命名边界的场景</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_ac08c4f42ea29288a3402753a1fe96cf4"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#ac08c4f42ea29288a3402753a1fe96cf4">ATNamedBoundary::Save</a></div><div class="ttdeci">ATDATACORE_EXPORT StatusInt Save()</div><div class="ttdoc">保存命名边界</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_ad346c4a8403a01afa4203611aecf68d9"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#ad346c4a8403a01afa4203611aecf68d9">ATNamedBoundary::SetName</a></div><div class="ttdeci">ATDATACORE_EXPORT void SetName(WStringCR)</div><div class="ttdoc">设置名称</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_aecb1a3209e9985676c4b7d9b2deda320"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#aecb1a3209e9985676c4b7d9b2deda320">ATNamedBoundary::Delete</a></div><div class="ttdeci">ATDATACORE_EXPORT StatusInt Delete()</div><div class="ttdoc">删除命名边界</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_af0b4850dc866363ea76f118ab188a69d"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#af0b4850dc866363ea76f118ab188a69d">ATNamedBoundary::PeekGraphicalObject</a></div><div class="ttdeci">ATDATACORE_EXPORT HATObject PeekGraphicalObject() const</div><div class="ttdoc">查找包含该命名边界的图形元素</div></div>
<div class="ttc" id="astruct_a_t_named_boundary_html_afd57485f173156a0e30e8f1204abdeac"><div class="ttname"><a href="../../d3/d80/struct_a_t_named_boundary.html#afd57485f173156a0e30e8f1204abdeac">ATNamedBoundary::SetGraphicalObject</a></div><div class="ttdeci">ATDATACORE_EXPORT StatusInt SetGraphicalObject(HATObjectCR obj)</div><div class="ttdoc">设置该命名边界表示的图形元素</div></div>
<div class="ttc" id="astruct_h_a_t_object_html"><div class="ttname"><a href="../../db/dbc/struct_h_a_t_object.html">HATObject</a></div><div class="ttdoc">只读的元素句柄</div><div class="ttdef"><b>Definition:</b> HATObject.h:125</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
